package com.itheima.day06;
/*
案例1: 断点测试
 */

public class TestClassCase01 {

    public static void main(String[] args) {

        get();

    }
    public static void get(){
        int sum=0;
        for (int i = 1; i <= 5; i++) {

            if(i%2==0){
                sum+=i;
            }

        }
        System.out.println(sum);
    }

}
